package com.jk.garden1.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jk.garden1.config.Sample;
import com.jk.garden1.dao.UserTableDao;
import com.jk.garden1.entity.UserTableEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginService {
    @Autowired
    private UserTableDao userTableDao;

//    public Object getPhoneLogin(String userPhone) {
//
//    }

    public String getCode(String userPhone) throws Exception {
       String code = Sample.sendSms(userPhone);

        return null;
    }


}
